package com.jframework.module.usps;

/**
 * Java bean to encapsulate returned HashMap of shipping options and their rates.
 * 
 * @author AJain
 */
public class ShippingOptionsAndRates 
{
    
    private String packageId	= null;
	private String shippingCode	= null; 
    private Double shippingRate= null;
    private String shippingOptionName= null;
    
	public String getPackageId() {
		return packageId;
	}
	public void setPackageId(String packageId) {
		this.packageId = packageId;
	}
	public String getShippingCode() {
		return shippingCode;
	}
	public void setShippingCode(String shippingCode) {
		this.shippingCode = shippingCode;
	}
	public Double getShippingRate() {
		return shippingRate;
	}
	public void setShippingRate(Double shippingRate) {
		this.shippingRate = shippingRate;
	}
	public String getShippingOptionName() {
		return shippingOptionName;
	}
	public void setShippingOptionName(String shippingOptionName) {
		this.shippingOptionName = shippingOptionName;
	}  
	
	public String toString()
	{
		return 
		new StringBuffer("PackageId : "+this.packageId)
		.append(", Code : "+this.shippingCode)
		.append(", Name : "+this.shippingOptionName)
		.append(", Rate : "+this.shippingRate)
		.toString();
	}
    
 
}
